<?php

class TaskQueueADP {
	var $queues = array();
	var $queueSelected = NULL;
	var $queueSelectedObj = NULL;
	
	function TaskQueueADP($conf) {
	}
	
	function select($queueName) {
		$this->queueSelected = $queueName;
		if (!in_array($this->queueSelected, $this->queues)) {
			array_push($this->queues, $this->queueSelected);
		}
	}
	
	function addTask($mixed) {
		//$array[] = array('url'=>"http://freedemo.sinaapp.com/yourtask2.php", "postdata"=>"act=test", "prior"=>true);
		
		//$this->queueSelectedObj->addTask($mixed);
		
	}
	
	function push() {
		//return $this->queueSelectedObj->push();
		
	}
}
?>